package zb.fix.entity.account;

import quickfix.Group;
import quickfix.Message;
import quickfix.field.OrderQty;
import quickfix.field.Symbol;

public class AccountResult extends Message {
	private static final long serialVersionUID = 3316563837052623354L;

	public static final String MSGTYPE = "zbAccount";

	public AccountResult() {
		getHeader().setField(new quickfix.field.MsgType(MSGTYPE));
	}

	public void set(Symbol field) { // 标志
		setField(field);
	}
	
	public static class Coin extends Group {

		private static final long serialVersionUID = 6684058490806701199L;

		public Coin() {
			super(8303, 55, new int[] { 55,8213, 6, 38, 8212, 44, 99, 54, 8001, 8203,
                    898, 8207, 8208,8210,8209});
		}
		
		public void set(OrderQty field) { // 持仓量
			setField(field);
		}
		
	}
}
